the slope of vertical line is 0. There are any references about the slope of vertical line is 0 in here. you can look below.